package com.baor.controller;

import com.baor.service.HaveSubmittedService;
import com.baor.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping(value = "haveSubmitted")
public class HaveSubmittedController {
    @Autowired
    private HaveSubmittedService haveSubmittedService;

    @RequestMapping(value="submitted")
    public R  submitted(@RequestBody Map<String, Object> params){
        return haveSubmittedService.haveSubmitted(params);

    }

}
